package com.example.testlxr9096.bean;

public class IoItem {
    private final String name;
    private boolean isSelected;

    private int state;

    public IoItem(String name) {
        this.name = name;
        this.isSelected = false;
        this.state = 0;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getName() {
        return name;
    }

    public boolean isSelected() {
        return isSelected;
    }

    public void setSelected(boolean selected) {
        isSelected = selected;
    }
}